
def get_parameter(parameters, keys):
    """提取参数
    return False if not exist or None
    """
    if not parameters:
        return False
    if isinstance(keys, str):
        keys = (keys,)
    for key in keys:
        if key in parameters:
            return parameters.get(key)
    return False


"""关注
"""
def set_follower_type(owner, follower):
    """params

    owner/int
    follower/int
    """
    return (owner << 8) | follower
